class AVG:
    def oncalc(self,*d,timekey=None):
        for i in d:
            if i is None:
                return None
        return sum(d)/len(d)